package org.dromara.nursing.domain.bo;

import org.dromara.nursing.domain.FeeRecord;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 费用记录业务对象 ms_fee_record
 *
 * @author Xue
 * @date 2025-04-01
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = FeeRecord.class, reverseConvertGenerate = false)
public class FeeRecordBo extends BaseEntity {

    /**
     * 记录ID
     */
    @NotNull(message = "记录ID不能为空", groups = { EditGroup.class })
    private Long recordId;

    /**
     * 老人姓名
     */
    private String elderName;

    /**
     * 费用类型
     */
    private String feeType;

    /**
     * 金额
     */
    private Long amount;

    /**
     * 费用日期
     */
    private Date feeDate;

    /**
     * 支付状态
     */
    private String paymentStatus;

    /**
     * 支付方式
     */
    private String paymentMethod;

    /**
     * 支付时间
     */
    private Date paymentTime;

    /**
     * 发票号
     */
    private String invoiceNo;

    /**
     * 备注
     */
    private String remark;


}
